﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;

namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IPhieuDatHangNCC
    {
        [OperationContract]
        bool InsertPhieuDHNCC(string MaDHNCC, string MaNV, string MaKHo, string MaNCC, string SoChungTu, DateTime NgayThang, string GhiChu, double TongDonHang, double TamUng, double ConLai, DateTime NgayBanGiao);
        [OperationContract]
        bool UpdatePhieuDHNCC(string MaDHNCC, string MaNV, string MaKHo, string MaNCC, string SoChungTu, DateTime NgayThang, string GhiChu, double TongDonHang, double TamUng, double ConLai, DateTime NgayBanGiao);
        [OperationContract]
        bool DeletePhieuDHNCC(string MaDHNCC);
        [OperationContract]
        string LayDS_PhieuDatHangNCC();
    }
}
